package com.jade.zsy.base.vo;

import com.jade.bss.base.utils.EntityVo;
import com.jade.zsy.base.common.StatusConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Created with IntelliJ IDEA.
 * User: jinya
 * Date: 2017/5/31
 * Time: 11:07
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@ApiModel(value ="职位")
public class PositionVo extends EntityVo {
    @ApiModelProperty(value = "编号",notes = "编号",required = true)
    private String code; /** 编号 **/
    @ApiModelProperty(value = "名称",notes = "名称",required = true)
    private String name; /** 名称 **/
    @ApiModelProperty(value = "状态",notes = "状态",required = true)
    private int status; /** 状态 **/
    @ApiModelProperty (value = "状态")
    private String statusDesc; /** 状态  0：正常  9：已停用 **/
    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
    public String getStatusDesc() {
        return StatusConstant.getDesc(status);
    }


}
